package com.tosit.bmx.mapper;

import com.tosit.bmx.domian.AreaUser;
import com.tosit.bmx.domian.AreaUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AreaUserMapper {
    long countByExample(AreaUserExample example);

    int deleteByExample(AreaUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AreaUser record);

    int insertSelective(AreaUser record);

    List<AreaUser> selectByExample(AreaUserExample example);

    AreaUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AreaUser record, @Param("example") AreaUserExample example);

    int updateByExample(@Param("record") AreaUser record, @Param("example") AreaUserExample example);

    int updateByPrimaryKeySelective(AreaUser record);

    int updateByPrimaryKey(AreaUser record);


    void deleteByAreaId(@Param("id") Integer id);

    void deleteByuserId(@Param("ids") List<Integer> ids);
}